Spread Windows Forms 11.0 Product Documentation
Item Property (CollectionBase<T>)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > CollectionBase<T> Class : Item Property
The zero-based index of the collection to access.
Gets or sets the T at the specified index in the collection.
Syntax
'Declaration
 
Public Default Property Item( _
   ByVal index As Integer _
) As T
'Usage
 
Dim instance As CollectionBase(Of T)
Dim index As Integer
Dim value As T
 
instance.Item(index) = value
 
value = instance.Item(index)
public T this[ 
   int index
]; {get; set;}

Parameters

index
The zero-based index of the collection to access.

Property Value

A T at each valid index.
Exceptions
ExceptionDescription
The index parameter is outside the valid range of indexes for the collection.
See Also

Reference

CollectionBase<T> Class
CollectionBase<T> Members